package com.day27;

public class Test {

    public static void main(String[] args) {
        Animal a=new Animal();
        a.name="狗熊";
        a.skin="黑色";
        a.type="熊";

        printAnimal(a);
    }

    public static void printAnimal(Animal a){
        System.out.println("姓名是："+a.name+"，肤色是："+a.skin+"，品种是："+a.type);
    }
}
